package cn.lg.soar.common.model.base;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * 实体基类
 * @author luguoxiang
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
@Schema(description = "DTO基类")
@Getter
@Setter
public abstract class BaseDTO {

    @Schema(description = "数据创建时间")
    protected LocalDateTime createTime;

    @Schema(description = "数据更新时间")
    protected LocalDateTime updateTime;

    @Schema(description = "乐观锁")
    protected Integer version;

}
